package com.xujp.consumerorder80;

import com.xujp.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author Xjp
 * @version 1.0
 * @date 2021/5/1 下午 03:07
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration= MySelfRule.class)
public class SpringBootConsumerRunner {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootConsumerRunner.class, args);
    }
}
